<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@page isELIgnored="false" %>
<%@page language="java" contentType="text/html; UTF-8" pageEncoding="UTF-8" %>
<html>
<body>
${errorInfo}
<form action="login" method="post">
    <label for="username" >
        username:<input type="text" name="username" id="username" value="<shiro:principal/>"/>
    </label>
    <label for="password">
        password:<input type="password" name="password" id="password"/>
    </label>
    <input type="submit" value="提交"/>
</form>
</body>
</html>
